package com.cheng.project.library.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 父类
 *
 * @author dot
 * @since 2018-09-03
 */
@Data
public class SuperPo {

    @ApiModelProperty(value = "主键ID", dataType = "Long")
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty("创建人")
    @TableField(value = "create_user_id")
    private String createUserId;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Long createTime;

    @ApiModelProperty("更新人")
    @TableField(value = "update_user_id")
    private String updateUserId;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time")
    private Long updateTime;

    @ApiModelProperty("有效标识")
    @TableField(value = "status")
    private Boolean status;
}
